package cn.cq.admin.entity.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 角色资源表
 * @TableName t_role_resource
 */
@TableName(value ="t_role_resource")
@Data
public class TRoleResource extends BaseModel implements Serializable {
    /**
     * 角色Id
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     * 资源Id
     */
    @TableField(value = "resource_id")
    private Long resourceId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
